<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{YICMS:$config.title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="description" content="{YICMS:$config.description}" />
<link href="{YICMS:$USER_PUBLIC}/qiushi_1118.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{YICMS:$USER_PUBLIC}/moumentei_style.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{YICMS:$USER_PUBLIC}/tip-yellowsimple.css" media="screen, projection" rel="stylesheet" type="text/css" />
<script src="{YICMS:$YICMS_PUBLIC}/source/jquery.js" type="text/javascript"></script>
<script src="{YICMS:$USER_PUBLIC}/lib.js" type="text/javascript"></script>
<script src="{YICMS:$USER_PUBLIC}/lib2nd.js" type="text/javascript"></script>
</head>
<body>
<div id="divFlashNumber" class="ad"></div>
<div id="container">
<div id="topbar">
<div id="toplogo"><a href="/">返回 {YICMS:$about.name}</a></div>
<div id="topmessage">
<if condition="!empty($_SESSION['uid'])">
	<span class="login" style="display:block">
	您好， <a href="/user/{YICMS:$_SESSION['uid']}" class="username">{YICMS:$_SESSION.uname}</a> |
	<a href="{YICMS::U('User/Index/msg')}">小纸条</a><span style="color:#009900;font-size:9px;font-weight:bold;font-family:tahoma" id="unread_messages_count"></span>
	|
	<a href="{YICMS::U('User/Index/code')}">邀请码</a>
	|
	<a href="{YICMS::U('User/Index/logout')}" title="Log out">退出</a>
	</span>
<else/>
	<span class="logout">
	您好，您可以 <a href="{YICMS::U('User/Index/login')}" class="need-login" style="border: none;">登录</a>
	或 <a href="{YICMS::U('User/Index/reg')}">注册</a>
	</span>
</if>	
</div>
</div>
<div id="center-container">
<div id="left">
<div class="userinfo clearfix">
<a href="/user/{YICMS:$profile.uid}"><img alt="{YICMS:$profile.uname}" class="userphoto photo_m" src="{YICMS:$profile.face}" /></a>
<p class="userxxx">{YICMS:$profile.uname}</p>
<ul class="stats">
	<li id="updates">
		<div class="list">
			<a href="/user/{YICMS:$profile.uid}/articles">
				<span class="function">文章</span>
				<span class="stats_count numeric">{YICMS:$profile.articles}</span>
			</a>
		</div>
	</li>
	<li id="user-comments">
		<div class="list">
			<a href="/user/{YICMS:$profile.uid}/comments">
				<span class="function">评论</span>
				<span class="stats_count numeric">{YICMS:$profile.comments}</span>
			</a>
		</div>
	</li>
</ul>
</div>
<if condition="$profile['uid'] eq $_SESSION['uid']">
&nbsp;
<br/>
<a href="{YICMS::U('User/Index/msg')}">小纸条</a>
<br/>
<br/>
<a href="{YICMS::U('User/Index/code')}">邀请码</a>
<br/>
<br/>
<a href="{YICMS::U('User/Index/edit')}">修改头像/邮箱</a>
<br/>
<br/>
<a href="{YICMS::U('User/Index/editpass')}">修改密码</a>
<br/>
</if>
</div>
